{% for resource in object_list %}		
<div id="capslide_img_cont3" class="ic_container">
	{% for thumb in resource.thumbnails_path %}
		{% if forloop.first %}
			<a href="{% url resource_details resource.id %}" title="{{resource.title}}">
				<img src="{{thumb}}" alt="{{resource.title}}" title="{{resource.title}}" width="352" height="288"/>
			</a>
		{% endif %}
	{% endfor %}
    <div class="overlay" style="display:none;"></div>
    <div class="ic_caption">
        <p class="ic_category">
			<a href="{% url resource_details resource.id %}">
				{{resource.title}}
			</a>
		</p>
        <p class="ic_text">
			<a href="{% url resource_details resource.id %}">
           		{{resource.description}}
			</a>
        </p>
    </div>
</div>
{% endfor %}